//package cn.wanda.bi.sunshine.platform.server.controller;
//
//import cn.wanda.bi.sunshine.platform.server.aspect.Logging;
//import cn.wanda.bi.sunshine.platform.server.controller.request.SysUserRequest;
//import cn.wanda.bi.sunshine.platform.server.controller.response.common.SimpleResponse;
//import cn.wanda.bi.sunshine.platform.server.service.authorize.SysUserService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.http.MediaType;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * Created by wangfupeng1
// */
//@Api(description = "用户登录")
////@RestController
////@RequestMapping(value = "/v1/sysUser", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
//public class DMPSysUserController implements Logging {
//
//    public static final Logger logger = LoggerFactory.getLogger(DMPSysUserController.class);
//
//    @Autowired
//    private SysUserService sysUserService;
//
//    @ApiOperation("用户登录，1分钟重试次数最多5次。超过5次禁止重试。1分钟后可再试, 传入参数是用户名和密码，输出数据是userName(用户名)，loginTime(登录时间)，token(验证字符串)，和sysUser(用户信息对象)")
////    @RequestMapping(value = "/login", method = RequestMethod.POST)
//    SimpleResponse login(@RequestBody SysUserRequest sysUserRequest) {
//        return sysUserService.sysUserLogin(sysUserRequest.getUserName(), sysUserRequest.getPassword());
//    }
//
//
//}
